home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / MJW1.422 < prev    next >
Text File  |  1993-04-08  |  4KB  |  92 lines

  1. MJW1.MOD
  2. Avenger #1 @6494
  3. Sun Apr 04 13:34:16 1993
  4. ┌───────────────────────────────────────────────────────────────────────────┐
  5. │ Mod Name: MJW01.MOD         Mod Author: Avenger @6494 WWIVNet, IceNET     │
  6. │ Difficulty: Simple Block Copy      Date: April 4,1992                     │
  7. │ WWIV Version: 4.22                                                        │
  8. │ Files Affected: BBSUTL.C                                                  │
  9. │ Description: Better looking "Yourinfo" with boxed outline                 │
  10. └───────────────────────────────────────────────────────────────────────────┘
  11.  
  12.  
  13.  DESCRIPTION...
  14.  Put's user's information inside of a box.
  15.  
  16.  DISCLAIMER...
  17.  Works on Michael's Madness... If something goes wrong and it makes
  18. you feel better, blame me. Please back up your source code just in case.
  19. I usually do a "pkzip -f source *.c *.h *.mak" to freshen all the
  20. important files.
  21.  
  22. Step One...
  23.  
  24. Go into BBSUTL.C, and search for "VOID YOURINFO" and either delete the
  25. entire void or comment it out.
  26.  
  27.  
  28. Step Two...
  29.  
  30. Block read this VOID YOURINFO in place of it and join the lines that were
  31. split due to being over 80 characters long.
  32.  
  33. /* ****Begin Block Copy Here  MJW1.mod  04/04/92**** */
  34.  
  35. void yourinfo(void)
  36. {
  37.         outchr(12);
  38.         if (okansi()){
  39.         nl();nl();nl();
  40.         pl("2                        Your Information presented by");0
  41.         pl("1                              Michael's Madness"); /*Change to the 0
  42. name of your board*/
  43.         pl("3                   ╒═════════════════╤════════════════════╕"); /* c0
  44. hange the colors to your liking */
  45.         npr("3                   │9 Alias           3│7  %-18s3│\r\n",nam(&thisuser,0
  46. usernum)); /* by changing the numbers */
  47.         npr("3                   │9 Real Name       3│7  %-18s3│\r\n",thisuser.realn0
  48. ame); /* after the hearts */
  49.         npr("3                   │9 Voice Phone     3│7  %-18s3│\r\n",thisuser.phone0
  50. );
  51.         npr("3                   │9 Data Phone      3│7  %-18s3│\r\n",thisuser.datap0
  52. hone);
  53.         npr("3                   │9 Security Level  3│7  %-18d3│\r\n",thisuser.sl,ac0
  54. tsl);
  55.         npr("3                   │9 Last On         3│7  %-18s3│\r\n",thisuser.lasto0
  56. n);
  57.         npr("3                   │9 Times On        3│7  %-18d3│\r\n",thisuser.logon0
  58. s);
  59.         npr("3                   │9 On Today        3│7  %-18d3│\r\n",thisuser.ontod0
  60. ay);
  61.         npr("3                   │9 Mail Waiting    3│7  %-18d3│\r\n",thisuser.waiti0
  62. ng);
  63.         npr("3                   │9 E-Mail Sent     3│7  %-18d3│\r\n",0
  64.         (thisuser.emailsent+thisuser.feedbacksent+thisuser.emailnet));
  65.         npr("3                   │9 Messages Posted 3│7  %-18d3│\r\n",thisuser.msgpo0
  66. st);
  67.         npr("3                   │9 Total Time On   3│7  %-18ld3│\r\n",(long)0
  68.         ((thisuser.timeon+timer()-timeon)/60.0));
  69.         pl("3                   ╘═════════════════╧════════════════════╛");0
  70.         nl();
  71.         pausescr();
  72.         outchr(12);
  73.         }
  74.          }
  75. /*  ********End Of Block Copy********   */
  76.  
  77.  
  78.  
  79.  Feel free to change the colors to your liking. If you don't have a mod in
  80. that lets you have the two extra colors, you'll not be able to use colors
  81. 8 or 9.
  82.  
  83. Step Three...
  84.  
  85.  Type "MAKE", copy the new version of "BBS.EXE" to the board's directory
  86. and enjoy.
  87.  
  88.  
  89. Please address comments, questions and sugestions to:
  90.  Avenger @6494 IceNET, WWIVNet. All corespondence would be
  91. greatly appreciated. Please drop a note if you use this mod.
  92.